package com.pingan;

import com.pingan.mapper.NoticeMapper;
import com.pingan.pojo.Notices;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class NoticeTestApplication {
    @Autowired
    private NoticeMapper noticeMapper;
    @Test
    public void testGetConnection() {
        List<Notices> noticeList =
                noticeMapper.getNoticeList(new Notices());
        System.out.println(noticeList);
    }
}
